<style>
  body {
  	font-family: arial;
  }
  div.auto_complete {
      background-color: white;
      border: thin solid #888888;
      margin: 0px; padding: 0px;
      position: absolute;
      width: 350px;
  }    
  ul.books {
      list-style-type: none;
      margin: 0px; padding: 0px;
  }
  ul.books li.selected {
      background-color: #FFFFBB;
  }
  li.book {
      display: block;
      list-style-type: none;
      margin: 0pt;
      padding: 2px;
  }
  li.book p.title {
      font-size: 12px;
      font-weight: bold;
			margin: 0;
  }    
  li.book p.author {
      color: #888888;
      font-size: 10px;
			margin: 0;
  }
</style>

<p>Tappez le nom d'un livre : </p>
<%= text_field_with_auto_complete :book, :title, { :size => 50 }, :skip_style => true %><br/>

